<#--

    Rhythm - A modern community (forum/BBS/SNS/blog) platform written in Java.
    Modified version from Symphony, Thanks Symphony :)
    Copyright (C) 2012-present, b3log.org

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

-->
<#include "macro-head.ftl">
<#include "macro-list.ftl">
<#include "macro-pagination.ftl">
<#include "common/sub-nav.ftl">
<#include "common/index-nav.ftl">
<!DOCTYPE html>
<html>
<head>
    <@head title="${domain.domainSeoTitle} - ${symphonyLabel}">
        <meta name="keywords" content="${domain.domainSeoKeywords}" />
        <meta name="description" content="${domain.domainSeoDesc}"/>
    </@head>
    ${domain.domainCSS}
</head>
<body>
<div class="mobile-head">
    <#include "header.ftl">
    <@indexNav "domains"/>
</div>
<div style="height: 74px;width: 1px;" ></div>
<div class="recent__nav">
    <#list domains as domainItem>
        <a pjax-title="${domainItem.domainTitle} - ${domainLabel} - ${symphonyLabel}" href="${servePath}/domain/${domainItem.domainURI}" class="recent__nav-item <#if domainItem.domainURI == domain.domainURI>recent__nav-check</#if>">${domainItem.domainTitle}</a>
    </#list>
</div>
<div class="main">
    <#--            <@subNav '' '${domain.domainURI}'/>-->
    <div class="content fn-clear">
        <@list listData=latestArticles/>
        <@pagination url="${servePath}/domain/${domain.domainURI}"/>
        <div class="wrapper">
            <div class="module">
                <div class="module-header">
                    <h2>${domain.domainTitle}</h2>
                    <a href="${servePath}/domain/${domain.domainURI}" class="ft-gray fn-right">${domain.domainTags?size} Tags</a>
                </div>
                <div class="module-panel">
                    <ul class="module-list domain">
                        <li>
                            <#list domain.domainTags as tag>
                                <a class="tag" rel="nofollow" href="${servePath}/tag/${tag.tagURI}">${tag.tagTitle}</a>
                            </#list>
                        </li>
                    </ul>
                    <div class="fn-hr5"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="side wrapper">
        <#include "side.ftl">
    </div>
</div>
<#include "footer.ftl">
<@listScript/>
</body>
</html>
